package com.shigu.mo.vo;

/**
 * 卡信息
 * Created by Licca on 17/11/19.
 */
public class CardVO {
    private Long cardId;//卡ID
    private String cardNo;//卡号
    private String blank;//银行
    private String realName;//户名

    private String bodyNumber;//身份证号

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getBlank() {
        return blank;
    }

    public void setBlank(String blank) {
        this.blank = blank;
    }

    public String getSimple(){
        return blank+"("+(cardNo.length()>4?(cardNo.substring(cardNo.length()-4,cardNo.length())):cardNo)+")";
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getBodyNumber() {
        return bodyNumber;
    }

    public void setBodyNumber(String bodyNumber) {
        this.bodyNumber = bodyNumber;
    }
}
